#include <iostream>
#include <map>

class CWindow
{
public:
	CWindow(int v)
	{
		w = v;
	}

protected:
	int w;
};

int main(void)
{
	typedef std::map<int, CWindow*>::iterator CWindowMapIter;
	static std::map<int, CWindow*> CWindowMap;

	CWindowMap[0] = new CWindow(10);
	CWindowMap[1] = new CWindow(20);
	CWindowMap[2] = new CWindow(30);

	if (CWindowMap[3] == NULL)
		CWindowMap.erase(3);
	else
		std::cout << std::endl;

	switch (1)
	{
	case 1:
		std::cout << "1" << std::endl;
		break;

	case 2:
		std::cout << "2" << std::endl;
		break;

	default:
		std::cout << "d" << std::endl;
		break;
	}

	return 0;
}
